# daft_conkyrc by arpinux

use_xft yes
xftfont Computerfont:pixelsize=18
xftalpha 1
uppercase no
override_utf8_locale yes

update_interval 1.0
total_run_times 0

background yes
own_window yes
own_window_transparent yes
own_window_colour white
own_window_type override
own_window_title daftconky
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

double_buffer yes

minimum_size 1024 45
maximum_width 1024

draw_shades no
draw_outline no
draw_borders no
border_inner_margin 0
border_width 1
draw_graph_borders no

default_color 758C9E #grey-blue
color1 FF1F00 #sunrise
color2 FFAA00 #orange-lite
color3 56FF3C #green-lite
color4 3CEEFF #blue-lite
color5 FF0000 #red-alarm
color6 D8D8D8 #white-lite
color7 C0BF00 #sand
color8 0E0E0E #black-lite
color9 758C9E #grey-blue

default_shade_color white
default_outline_color black

alignment br
gap_x 0
gap_y 11

no_buffers yes
text_buffer_size 1024
cpu_avg_samples 2

short_units yes
use_spacer right

if_up_strictness address

lua_load ~/.arp_setups/daft/daft_bars.lua
lua_draw_hook_pre bar_stats
##############################################
#  Output
##############################################
TEXT

${goto 10}${font Computerfont:pixelsize=22}${font}${voffset 3}${goto 251}${diskiograph 12,120}${goto 250}${voffset 2}${hr 1}
${voffset -8}${goto 10}${time %a %d %b  %I:%M}${goto 222}deb${if_up eth1}${texeci 3600 ~/bin/debupdates.sh}${else}-${endif}${goto 535}${if_match ${battery_percent} <= 15}${color1}Bt${color}${else}Bt${endif}${goto 565}${if_match ${cpu} >= 90}${color1}Cu${color}${else}Cu${endif}${goto 593}${if_match ${memperc} >= 85}${color1}Rm${color}${else}Rm${endif}${goto 627}Dl${goto 657}Ul${goto 685}Sy${goto 713}Sw${goto 746}${if_match ${ibm_temps 0} >= 70}${color1}C°${color}${else}C°${endif}${goto 776}${if_match ${ibm_temps 0} >= 65}${color1}H°${color}${else}H°${endif}${goto 806}${if_match ${ibm_temps 3} >= 70}${color1}G°${color}${else}G°${endif}${goto 836}Hr${goto 863}Mn${goto 896}Sc${goto 926}Sd
